package com.zlf.service;
import com.zlf.po.User;
public interface UserService {
    public User getUserByIdByPass(User user);
    public User getUserById(String userId);
    public int saveUser(User user);

    public int updateUserPass(String newPassword,String userId,String oldPassword);
    public int updateNickname(String userId,String newNickname);
    public int uploadAvatarBase64(String userId, String avatarBase64);
}